from django.contrib import admin

# Register your models here.
from . import models


# 继承ModelAdmin类
class TeamAdmin(admin.ModelAdmin):
    # list_display是一个数组
    list_display = ['t_name', 't_city']


admin.site.register(models.Team, TeamAdmin)
